package Excercise;

public class Ex01_Q19 {

	
	public static void main(String[] args) {
		int x = 2 , y=2;
		int z = 0;
		if(x > 2){
			if(y > 2){
				z = x + y;
				System.out.println("z is "+z);}
			}else
				System.out.println("x is "+x);
		
		// x=3; y=2; 햇을경우 출력값없음
		// x=3; y=4; 했을경우 z is 7
		// x=2; y=2; 했을경우 x is 2
		
	    }
	}


